			
			<?php if(isset($error)){?>
				<div id="changePassError" class="error"><?php echo $error;?></div>
			<?php }elseif (isset($success)){?>
				<div id="changePassSuccess" class="success"><?php echo $success;?></div>
			<?php }?>	
			<div id="content">
                <div class="inner">
					<div class="topcolumn">
						<div class="logo"></div>
                            <ul  id="shortcut">
                                <li> <a href="#" title="Back To home"> <img src="<?php echo base_url();?>public/admin/img/icon/shortcut/home.png" alt="home"/><strong>Home</strong> </a> </li>
                                <li> <a href="#" title="Website Graph"> <img src="<?php echo base_url();?>public/admin/img/icon/shortcut/graph.png" alt="graph"/><strong>Graph</strong> </a> </li>
                                <li> <a href="#" title="Setting" > <img src="<?php echo base_url();?>public/admin/img/icon/shortcut/setting.png" alt="setting" /><strong>Setting</strong></a> </li> 
                                <li> <a href="#" title="Messages"> <img src="<?php echo base_url();?>public/admin/img/icon/shortcut/mail.png" alt="messages" /><strong>Message</strong></a><div class="notification" >10</div></li>
                            </ul>
					</div>
                    <div class="clear"></div>
                        
	                  <div class="onecolumn" >
	                  	
	                  <div class="clear"></div>
	                  <div class="content" >
	                    <div class="tab_container" >
	                          <div id="tab1" class="tab_content"> 
	                              <div class="load_page">
	                                <div class="formEl_b">	
	                                 <form id="validation" method="post" action="<?php base_url(); ?>change-password"> 
		                                 <fieldset>
		                                      <legend><?php echo $this->lang->line('profile_setting');?> <span class="small s_color">( <?php echo $this->lang->line('change_pass');?> )</span></legend>
		                                      <div class="section">
			                                      <label> <?php echo $this->lang->line('login_account');?>  <small><?php echo $this->lang->line('inform_required');?></small></label>
			                                      <div>
				                                      <input type="text" readonly="readonly" name="username" id="username" value="<?php $user = $this->session->userdata('user'); echo $user['username'];?>"  class="validate[required,minSize[3],maxSize[20],] medium"  /><label><?php echo $this->lang->line('username')." *";?></label>
			                                      </div>
			                                      <div>
			                                      	   <input type="password"  class="medium"  name="old_password" id="passwordOld"  /><label><?php echo $this->lang->line('old_pass')." *"; ?></label>
			                                      </div>
			                                      <div>
			                                      	   <input type="password"  class="validate[minSize[6]] medium"  name="new_password" id="passwordNew"  /><label><?php echo $this->lang->line('new_pass')." *"; ?></label>
			                                      </div>
			                                      <div>
			                                      	   <input type="password" class="validate[equals[passwordNew]] medium"  name="conf_password" id="passwordCon"  /><label><?php echo $this->lang->line('conf_pass')." *"; ?></label>
			                                           <span class="f_help"><?php echo $this->lang->line('inform');?></span>
			                                      </div>
		                                      </div>
		                                      <div class="section last">
			                                      <div>
			                                        <input type="submit" class="uibutton submit_form" value="<?php echo $this->lang->line('save');?>" id="but_changepass" />
			                                        <a class="uibutton special"   onClick="ResetForm()" title="<?php echo $this->lang->line('clear');?>"><?php echo $this->lang->line('clear');?></a>
			                                      </div>
		                                     </div>
		                                </fieldset>
	                                </form>
	                                </div>
	                              </div>	
	                          </div><!--tab1-->
	                  </div>
	                  </div><!--/END TAB/-->
	                  <div class="clear"/></div>                  
	                  </div>
        		  </div>
        		  <script type="text/javascript" src="<?php echo base_url();?>public/admin/js/login.js"></script>
        		  <script type="text/javascript">
        		  	loading('Checking',1);		
        			setTimeout( "unloading()", 500 );
					var error = '<?php if(isset($error)){foreach ($error as $err){echo $err;}}?>';
					if(error != " "){$('#changePassError').addClass('error').html(error).stop(true,true).show().animate({ opacity: 1,right: '10'}, 1000);setTimeout('hideTop()',3500);}
		
					var success = '<?php if(isset($success)){echo $success;}?>';
					if(success != " "){$('#changePassSuccess').addClass('success').html(success).stop(true,true).show().animate({ opacity: 1,right: '10'}, 1000);setTimeout('hideTop()',3500);}
				 </script> 